<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_abstract_optimizer.html">AbstractOptimizer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_abstract_optimizer-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt; Class Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__optimizers.html">Algorithms to find a local minimum of\ref objfunctions.</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>An optimizer that optimizes general objective functions.  
 <a href="classshark_1_1_abstract_optimizer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_abstract_optimizer_8h_source.html">shark/Algorithms/AbstractOptimizer.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_abstract_optimizer__inherit__graph.png" border="0" usemap="#ashark_1_1_abstract_optimizer_3_01_point_type_00_01_result_t_00_01_solution_type_t_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_abstract_optimizer_3_01_point_type_00_01_result_t_00_01_solution_type_t_01_4_inherit__map" id="ashark_1_1_abstract_optimizer_3_01_point_type_00_01_result_t_00_01_solution_type_t_01_4_inherit__map">
<area shape="rect" title="An optimizer that optimizes general objective functions." alt="" coords="186,63,384,119"/>
<area shape="rect" href="classshark_1_1_abstract_multi_objective_optimizer.html" title=" " alt="" coords="436,5,629,46"/>
<area shape="poly" title=" " alt="" coords="398,58,452,44,453,49,400,64"/>
<area shape="rect" href="classshark_1_1_abstract_single_objective_optimizer.html" title=" " alt="" coords="432,71,633,111"/>
<area shape="poly" title=" " alt="" coords="400,88,431,88,431,94,400,94"/>
<area shape="rect" href="classshark_1_1_abstract_single_objective_optimizer.html" title=" " alt="" coords="432,136,633,177"/>
<area shape="poly" title=" " alt="" coords="400,118,453,133,452,138,398,124"/>
<area shape="rect" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name." alt="" coords="9,53,134,79"/>
<area shape="poly" title=" " alt="" coords="150,72,185,77,185,82,149,78"/>
<area shape="rect" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality." alt="" coords="5,102,138,128"/>
<area shape="poly" title=" " alt="" coords="153,103,185,100,185,105,153,109"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a77bf437afee3445601c680cc652410f0" id="r_a77bf437afee3445601c680cc652410f0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">Feature</a> { <br />
&#160;&#160;<a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0af46b9e1111a0858df3670fe12e4ffbf0">REQUIRES_VALUE</a> = 1
, <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0ad9b925369d4f923c63792bf455eac1d7">REQUIRES_FIRST_DERIVATIVE</a> = 2
, <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0a0a32670987bb219aaf2f6defc70e6f03">REQUIRES_SECOND_DERIVATIVE</a> = 4
, <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0ab95c65f700f2158f39039d8f580d350f">CAN_SOLVE_CONSTRAINED</a> = 8
, <br />
&#160;&#160;<a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0addbe7762d6f4f8769cc06f61bc9c5c28">REQUIRES_CLOSEST_FEASIBLE</a> = 16
<br />
 }</td></tr>
<tr class="memdesc:a77bf437afee3445601c680cc652410f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Models features that the optimizer requires from the objective function.  <a href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">More...</a><br /></td></tr>
<tr class="separator:a77bf437afee3445601c680cc652410f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abea8df343e5638782a9a82403adb5ae1" id="r_abea8df343e5638782a9a82403adb5ae1"><td class="memItemLeft" align="right" valign="top">typedef PointType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#abea8df343e5638782a9a82403adb5ae1">SearchPointType</a></td></tr>
<tr class="separator:abea8df343e5638782a9a82403adb5ae1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89ed73f010deb3809acbcf23160c0f6b" id="r_a89ed73f010deb3809acbcf23160c0f6b"><td class="memItemLeft" align="right" valign="top">typedef ResultT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a89ed73f010deb3809acbcf23160c0f6b">ResultType</a></td></tr>
<tr class="separator:a89ed73f010deb3809acbcf23160c0f6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc94d354dbe0b99c0a69ec3e6e5e8657" id="r_abc94d354dbe0b99c0a69ec3e6e5e8657"><td class="memItemLeft" align="right" valign="top">typedef SolutionTypeT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#abc94d354dbe0b99c0a69ec3e6e5e8657">SolutionType</a></td></tr>
<tr class="separator:abc94d354dbe0b99c0a69ec3e6e5e8657"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7a9b0634e5a5cbd683f5510b41b7062" id="r_ac7a9b0634e5a5cbd683f5510b41b7062"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_objective_function.html">AbstractObjectiveFunction</a>&lt; PointType, <a class="el" href="classshark_1_1_abstract_optimizer.html#a89ed73f010deb3809acbcf23160c0f6b">ResultType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a></td></tr>
<tr class="separator:ac7a9b0634e5a5cbd683f5510b41b7062"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab43ff108d945a982e98495432ace599f" id="r_ab43ff108d945a982e98495432ace599f"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#ab43ff108d945a982e98495432ace599f">Features</a></td></tr>
<tr class="separator:ab43ff108d945a982e98495432ace599f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47751327ce0519d3378a9b2ad188d1e6" id="r_a47751327ce0519d3378a9b2ad188d1e6"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a47751327ce0519d3378a9b2ad188d1e6">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a47751327ce0519d3378a9b2ad188d1e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a40334039f6e799b2255d229874e9fa39" id="r_a40334039f6e799b2255d229874e9fa39"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_optimizer.html#ab43ff108d945a982e98495432ace599f">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a40334039f6e799b2255d229874e9fa39">features</a> () const</td></tr>
<tr class="separator:a40334039f6e799b2255d229874e9fa39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0219242dff14757398c81d2e82c22e" id="r_adc0219242dff14757398c81d2e82c22e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#adc0219242dff14757398c81d2e82c22e">updateFeatures</a> ()</td></tr>
<tr class="separator:adc0219242dff14757398c81d2e82c22e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8645fb354408c89d3537aa87aed49b79" id="r_a8645fb354408c89d3537aa87aed49b79"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a8645fb354408c89d3537aa87aed49b79">requiresValue</a> () const</td></tr>
<tr class="separator:a8645fb354408c89d3537aa87aed49b79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13dff098bcde14529b64be653d73d57f" id="r_a13dff098bcde14529b64be653d73d57f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a13dff098bcde14529b64be653d73d57f">requiresFirstDerivative</a> () const</td></tr>
<tr class="separator:a13dff098bcde14529b64be653d73d57f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9da146985b7738554e09f75a670f8c97" id="r_a9da146985b7738554e09f75a670f8c97"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a9da146985b7738554e09f75a670f8c97">requiresSecondDerivative</a> () const</td></tr>
<tr class="separator:a9da146985b7738554e09f75a670f8c97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecad1d60d38fd243eaf7c7bf0f6d01af" id="r_aecad1d60d38fd243eaf7c7bf0f6d01af"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#aecad1d60d38fd243eaf7c7bf0f6d01af">canSolveConstrained</a> () const</td></tr>
<tr class="separator:aecad1d60d38fd243eaf7c7bf0f6d01af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9332ad1b90deed11ee6709a92964bc9" id="r_aa9332ad1b90deed11ee6709a92964bc9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#aa9332ad1b90deed11ee6709a92964bc9">requiresClosestFeasible</a> () const</td></tr>
<tr class="separator:aa9332ad1b90deed11ee6709a92964bc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd45149f57784a117e8f62d0763bf891" id="r_abd45149f57784a117e8f62d0763bf891"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#abd45149f57784a117e8f62d0763bf891">~AbstractOptimizer</a> ()</td></tr>
<tr class="separator:abd45149f57784a117e8f62d0763bf891"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a977f8494a25041605b5a2d7d7d120a71" id="r_a977f8494a25041605b5a2d7d7d120a71"><td class="memItemLeft" align="right" valign="top">virtual std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a977f8494a25041605b5a2d7d7d120a71">numInitPoints</a> () const =0</td></tr>
<tr class="memdesc:a977f8494a25041605b5a2d7d7d120a71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of points this method requires for initialisation.  <br /></td></tr>
<tr class="separator:a977f8494a25041605b5a2d7d7d120a71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa65e7eece1d248594253b799cf20e7a" id="r_aaa65e7eece1d248594253b799cf20e7a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#aaa65e7eece1d248594253b799cf20e7a">init</a> (<a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;function)</td></tr>
<tr class="memdesc:aaa65e7eece1d248594253b799cf20e7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the optimizer for the supplied objective function.  <br /></td></tr>
<tr class="separator:aaa65e7eece1d248594253b799cf20e7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f6f869a2ea7c6d29e70f8248f076f66" id="r_a5f6f869a2ea7c6d29e70f8248f076f66"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a5f6f869a2ea7c6d29e70f8248f076f66">init</a> (<a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;function, std::vector&lt; <a class="el" href="classshark_1_1_abstract_optimizer.html#abea8df343e5638782a9a82403adb5ae1">SearchPointType</a> &gt; const &amp;initPoints)=0</td></tr>
<tr class="memdesc:a5f6f869a2ea7c6d29e70f8248f076f66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the optimizer for the supplied objective function using a set of initialisation points.  <br /></td></tr>
<tr class="separator:a5f6f869a2ea7c6d29e70f8248f076f66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfc507951eb09c50d62c474c79d773ea" id="r_abfc507951eb09c50d62c474c79d773ea"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#abfc507951eb09c50d62c474c79d773ea">step</a> (<a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;function)=0</td></tr>
<tr class="memdesc:abfc507951eb09c50d62c474c79d773ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Carry out one step of the optimizer for the supplied objective function.  <br /></td></tr>
<tr class="separator:abfc507951eb09c50d62c474c79d773ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a277acc916ab9b33a9a7fe954a7cb4b72" id="r_a277acc916ab9b33a9a7fe954a7cb4b72"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classshark_1_1_abstract_optimizer.html#abc94d354dbe0b99c0a69ec3e6e5e8657">SolutionType</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a277acc916ab9b33a9a7fe954a7cb4b72">solution</a> () const =0</td></tr>
<tr class="memdesc:a277acc916ab9b33a9a7fe954a7cb4b72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accesses the best solution obtained so far.  <br /></td></tr>
<tr class="separator:a277acc916ab9b33a9a7fe954a7cb4b72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable" id="r_a9893f99314de30cd472e649c235d0db4"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">name</a> () const</td></tr>
<tr class="memdesc:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the name of the object  <br /></td></tr>
<tr class="separator:a9893f99314de30cd472e649c235d0db4 inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable" id="r_ad4ad9a7c274deff642f91e98417fbc63"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#ad4ad9a7c274deff642f91e98417fbc63">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive)</td></tr>
<tr class="memdesc:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the component from the supplied archive.  <br /></td></tr>
<tr class="separator:ad4ad9a7c274deff642f91e98417fbc63 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable" id="r_a9bddedd42933c922e323b73131f62f12"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a9bddedd42933c922e323b73131f62f12">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive) const</td></tr>
<tr class="memdesc:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the component to the supplied archive.  <br /></td></tr>
<tr class="separator:a9bddedd42933c922e323b73131f62f12 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ae7a23300641448c761b6aa0305b7ef66" id="r_ae7a23300641448c761b6aa0305b7ef66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#ae7a23300641448c761b6aa0305b7ef66">checkFeatures</a> (<a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;objectiveFunction)</td></tr>
<tr class="memdesc:ae7a23300641448c761b6aa0305b7ef66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function that checks whether the features of the supplied objective function match with the required features of the optimizer.  <br /></td></tr>
<tr class="separator:ae7a23300641448c761b6aa0305b7ef66"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a72daf583d406e144b90869f311baa594" id="r_a72daf583d406e144b90869f311baa594"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_optimizer.html#ab43ff108d945a982e98495432ace599f">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_optimizer.html#a72daf583d406e144b90869f311baa594">m_features</a></td></tr>
<tr class="separator:a72daf583d406e144b90869f311baa594"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename PointType, typename ResultT, typename SolutionTypeT&gt;<br />
class shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;</div><p>An optimizer that optimizes general objective functions. </p>
<p>After construction and configurationg the optimizer, <a class="el" href="classshark_1_1_abstract_optimizer.html#aaa65e7eece1d248594253b799cf20e7a" title="Initialize the optimizer for the supplied objective function.">init()</a> is called with the objective function to be used. After that <a class="el" href="classshark_1_1_abstract_optimizer.html#abfc507951eb09c50d62c474c79d773ea" title="Carry out one step of the optimizer for the supplied objective function.">step()</a> can be called until the required solution is found. The solution can be queried using <a class="el" href="classshark_1_1_abstract_optimizer.html#a277acc916ab9b33a9a7fe954a7cb4b72" title="Accesses the best solution obtained so far.">solution()</a>. The type of the solution depends on the optimisation problem at hand. It is allowed to add constrains on the features the objective function needs to offer</p>
<p>These are:</p><ul>
<li>REQUIRES_VALUE: The function is evaluated to use the optimizer and the HAS_VALUE-flag must be set</li>
<li>REQUIRES_FIRST_DERIVATIVE: The first derivative needs to be evaluated and</li>
<li>HAS_FIRST_DERIVATIVE must be set</li>
<li>REQUIRES_SECOND_DERIVATIVE: The second derivative needs to be evaluated and</li>
<li>HAS_SECOND_DERIVATIVE must be set</li>
<li>CAN_SOLVE_CONSTRAINED: The optimizer can solve functions which are constrained and where the IS_CONSTRAINED_FEATURE is set.</li>
<li>REQUIRES_CLOSEST_FEASIBLE: If the function is constrained, it must offer a way to construct the closest feasible point and</li>
<li>CAN_PROVIDE_CLOSEST_FEASIBLE must be set</li>
</ul>
<p>Also when <a class="el" href="classshark_1_1_abstract_optimizer.html#aaa65e7eece1d248594253b799cf20e7a" title="Initialize the optimizer for the supplied objective function.">init()</a> is called as offered by the <a class="el" href="classshark_1_1_abstract_optimizer.html" title="An optimizer that optimizes general objective functions.">AbstractOptimizer</a> interface, the function is required to have the CAN_PROPOSE_STARTING_POINT flag.</p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">PointType</td><td>The type of search space the optimizer works upon. </td></tr>
    <tr><td class="paramname">ResultT</td><td>The objective space the optimizer works upon. </td></tr>
    <tr><td class="paramname">SolutionTypeT</td><td>The type of the final solution. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00073">73</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a47751327ce0519d3378a9b2ad188d1e6" name="a47751327ce0519d3378a9b2ad188d1e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47751327ce0519d3378a9b2ad188d1e6">&#9670;&#160;</a></span>FeatureNotAvailableException</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt;<a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">Feature</a>&gt; <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::FeatureNotAvailableException</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00090">90</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

</div>
</div>
<a id="ab43ff108d945a982e98495432ace599f" name="ab43ff108d945a982e98495432ace599f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab43ff108d945a982e98495432ace599f">&#9670;&#160;</a></span>Features</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt;<a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">Feature</a>&gt; <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::Features</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00090">90</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

</div>
</div>
<a id="ac7a9b0634e5a5cbd683f5510b41b7062" name="ac7a9b0634e5a5cbd683f5510b41b7062"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7a9b0634e5a5cbd683f5510b41b7062">&#9670;&#160;</a></span>ObjectiveFunctionType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_objective_function.html">AbstractObjectiveFunction</a>&lt;PointType,<a class="el" href="classshark_1_1_abstract_optimizer.html#a89ed73f010deb3809acbcf23160c0f6b">ResultType</a>&gt; <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::ObjectiveFunctionType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00078">78</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

</div>
</div>
<a id="a89ed73f010deb3809acbcf23160c0f6b" name="a89ed73f010deb3809acbcf23160c0f6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89ed73f010deb3809acbcf23160c0f6b">&#9670;&#160;</a></span>ResultType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef ResultT <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::ResultType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00076">76</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

</div>
</div>
<a id="abea8df343e5638782a9a82403adb5ae1" name="abea8df343e5638782a9a82403adb5ae1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abea8df343e5638782a9a82403adb5ae1">&#9670;&#160;</a></span>SearchPointType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef PointType <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::SearchPointType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00075">75</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

</div>
</div>
<a id="abc94d354dbe0b99c0a69ec3e6e5e8657" name="abc94d354dbe0b99c0a69ec3e6e5e8657"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc94d354dbe0b99c0a69ec3e6e5e8657">&#9670;&#160;</a></span>SolutionType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef SolutionTypeT <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::SolutionType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00077">77</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a77bf437afee3445601c680cc652410f0" name="a77bf437afee3445601c680cc652410f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77bf437afee3445601c680cc652410f0">&#9670;&#160;</a></span>Feature</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0">shark::AbstractOptimizer::Feature</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Models features that the optimizer requires from the objective function. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classshark_1_1_abstract_objective_function.html" title="Super class of all objective functions for optimization and learning.">AbstractObjectiveFunction</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a77bf437afee3445601c680cc652410f0af46b9e1111a0858df3670fe12e4ffbf0" name="a77bf437afee3445601c680cc652410f0af46b9e1111a0858df3670fe12e4ffbf0"></a>REQUIRES_VALUE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a77bf437afee3445601c680cc652410f0ad9b925369d4f923c63792bf455eac1d7" name="a77bf437afee3445601c680cc652410f0ad9b925369d4f923c63792bf455eac1d7"></a>REQUIRES_FIRST_DERIVATIVE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a77bf437afee3445601c680cc652410f0a0a32670987bb219aaf2f6defc70e6f03" name="a77bf437afee3445601c680cc652410f0a0a32670987bb219aaf2f6defc70e6f03"></a>REQUIRES_SECOND_DERIVATIVE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a77bf437afee3445601c680cc652410f0ab95c65f700f2158f39039d8f580d350f" name="a77bf437afee3445601c680cc652410f0ab95c65f700f2158f39039d8f580d350f"></a>CAN_SOLVE_CONSTRAINED&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a77bf437afee3445601c680cc652410f0addbe7762d6f4f8769cc06f61bc9c5c28" name="a77bf437afee3445601c680cc652410f0addbe7762d6f4f8769cc06f61bc9c5c28"></a>REQUIRES_CLOSEST_FEASIBLE&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00082">82</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abd45149f57784a117e8f62d0763bf891" name="abd45149f57784a117e8f62d0763bf891"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd45149f57784a117e8f62d0763bf891">&#9670;&#160;</a></span>~AbstractOptimizer()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::~<a class="el" href="classshark_1_1_abstract_optimizer.html">AbstractOptimizer</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00109">109</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aecad1d60d38fd243eaf7c7bf0f6d01af" name="aecad1d60d38fd243eaf7c7bf0f6d01af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecad1d60d38fd243eaf7c7bf0f6d01af">&#9670;&#160;</a></span>canSolveConstrained()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::canSolveConstrained </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00102">102</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0ab95c65f700f2158f39039d8f580d350f">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::CAN_SOLVE_CONSTRAINED</a>, and <a class="el" href="classshark_1_1_abstract_optimizer.html#a40334039f6e799b2255d229874e9fa39">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::features()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_optimizer.html#ae7a23300641448c761b6aa0305b7ef66">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::checkFeatures()</a>.</p>

</div>
</div>
<a id="ae7a23300641448c761b6aa0305b7ef66" name="ae7a23300641448c761b6aa0305b7ef66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7a23300641448c761b6aa0305b7ef66">&#9670;&#160;</a></span>checkFeatures()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::checkFeatures </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;&#160;</td>
          <td class="paramname"><em>objectiveFunction</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convenience function that checks whether the features of the supplied objective function match with the required features of the optimizer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">objectiveFunction</td><td>The function to match with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classshark_1_1_exception.html" title="Top-level exception class of the shark library.">shark::Exception</a></td><td></td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00157">157</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_objective_function.html#a499c48a9afe9e77e866af66c0cb4f396">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::canProvideClosestFeasible()</a>, <a class="el" href="classshark_1_1_abstract_optimizer.html#aecad1d60d38fd243eaf7c7bf0f6d01af">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::canSolveConstrained()</a>, <a class="el" href="classshark_1_1_abstract_objective_function.html#aec3465e02d80e79445df299cf8531fcc">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::hasFirstDerivative()</a>, <a class="el" href="classshark_1_1_abstract_objective_function.html#a9f5d2c0fa504de1e3b5a66363c826f08">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::hasSecondDerivative()</a>, <a class="el" href="classshark_1_1_abstract_objective_function.html#a7d4be77b4100781bbd7ca50bcf68c94f">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::hasValue()</a>, <a class="el" href="classshark_1_1_abstract_objective_function.html#a2a03eac74b7cac35c5d510ab12599393">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::isConstrained()</a>, <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable::name()</a>, <a class="el" href="classshark_1_1_abstract_optimizer.html#aa9332ad1b90deed11ee6709a92964bc9">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::requiresClosestFeasible()</a>, <a class="el" href="classshark_1_1_abstract_optimizer.html#a13dff098bcde14529b64be653d73d57f">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::requiresFirstDerivative()</a>, <a class="el" href="classshark_1_1_abstract_optimizer.html#a9da146985b7738554e09f75a670f8c97">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::requiresSecondDerivative()</a>, <a class="el" href="classshark_1_1_abstract_optimizer.html#a8645fb354408c89d3537aa87aed49b79">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::requiresValue()</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_l_m_c_m_a.html#a7371b088ce92161da051ce664a97e9a0">shark::LMCMA::init()</a>, <a class="el" href="classshark_1_1_v_d_c_m_a.html#a387173a404de5babcadf81f812154442">shark::VDCMA::init()</a>, <a class="el" href="classshark_1_1_indicator_based_m_o_c_m_a.html#a015efc8d71a2dbc53aef7a5be2895ce2">shark::IndicatorBasedMOCMA&lt; Indicator &gt;::init()</a>, <a class="el" href="classshark_1_1_indicator_based_real_coded_n_s_g_a_i_i.html#aa7be0351f6549d3a2c25405c10c28d3e">shark::IndicatorBasedRealCodedNSGAII&lt; Indicator &gt;::init()</a>, <a class="el" href="classshark_1_1_s_m_s_e_m_o_a.html#ac3c42fb3fa621d61e42c0d8cfa3de003">shark::SMSEMOA::init()</a>, <a class="el" href="classshark_1_1_indicator_based_steady_state_m_o_c_m_a.html#ab04e4ddfa160150c997d059c1f656bc6">shark::IndicatorBasedSteadyStateMOCMA&lt; Indicator &gt;::init()</a>, <a class="el" href="classshark_1_1_grid_search.html#aee57c542b7ca10f41028da93434bf316">shark::GridSearch::init()</a>, <a class="el" href="classshark_1_1_nested_grid_search.html#a7d9ffc24f40f1824e0973e880c48d474">shark::NestedGridSearch::init()</a>, <a class="el" href="classshark_1_1_point_search.html#a526bcfc4e0bcfd6bd4d4c937347f5ad6">shark::PointSearch::init()</a>, and <a class="el" href="classshark_1_1_simplex_downhill.html#a5362ffe8e7c5d448f2b4072cd0e62ab6">shark::SimplexDownhill::init()</a>.</p>

</div>
</div>
<a id="a40334039f6e799b2255d229874e9fa39" name="a40334039f6e799b2255d229874e9fa39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40334039f6e799b2255d229874e9fa39">&#9670;&#160;</a></span>features()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classshark_1_1_abstract_optimizer.html#ab43ff108d945a982e98495432ace599f">Features</a> &amp; <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::features </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00090">90</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_optimizer.html#aecad1d60d38fd243eaf7c7bf0f6d01af">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::canSolveConstrained()</a>, <a class="el" href="classshark_1_1_abstract_optimizer.html#aa9332ad1b90deed11ee6709a92964bc9">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::requiresClosestFeasible()</a>, <a class="el" href="classshark_1_1_abstract_optimizer.html#a13dff098bcde14529b64be653d73d57f">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::requiresFirstDerivative()</a>, <a class="el" href="classshark_1_1_abstract_optimizer.html#a9da146985b7738554e09f75a670f8c97">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::requiresSecondDerivative()</a>, and <a class="el" href="classshark_1_1_abstract_optimizer.html#a8645fb354408c89d3537aa87aed49b79">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::requiresValue()</a>.</p>

</div>
</div>
<a id="aaa65e7eece1d248594253b799cf20e7a" name="aaa65e7eece1d248594253b799cf20e7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa65e7eece1d248594253b799cf20e7a">&#9670;&#160;</a></span>init() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;&#160;</td>
          <td class="paramname"><em>function</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initialize the optimizer for the supplied objective function. </p>
<p>Be aware that function.init() has to be called before calling this function! This function will initialize the algorithm with a number of points proposed by the function. Note that this must fail if the function can not propose starting point(s).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">function</td><td>The objective function to initialize for. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00124">124</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_objective_function.html#aa190c3699e653df3f054b0b3d753270e">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::canProposeStartingPoint()</a>, <a class="el" href="classshark_1_1_abstract_optimizer.html#aaa65e7eece1d248594253b799cf20e7a">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::init()</a>, <a class="el" href="classshark_1_1_abstract_optimizer.html#a977f8494a25041605b5a2d7d7d120a71">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::numInitPoints()</a>, <a class="el" href="classshark_1_1_abstract_objective_function.html#acd2922036a6388fde1173490079bb22b">shark::AbstractObjectiveFunction&lt; PointType, ResultT &gt;::proposeStartingPoint()</a>, and <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_optimizer.html#aaa65e7eece1d248594253b799cf20e7a">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::init()</a>.</p>

</div>
</div>
<a id="a5f6f869a2ea7c6d29e70f8248f076f66" name="a5f6f869a2ea7c6d29e70f8248f076f66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f6f869a2ea7c6d29e70f8248f076f66">&#9670;&#160;</a></span>init() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;&#160;</td>
          <td class="paramname"><em>function</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classshark_1_1_abstract_optimizer.html#abea8df343e5638782a9a82403adb5ae1">SearchPointType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>initPoints</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initialize the optimizer for the supplied objective function using a set of initialisation points. </p>
<p>Most single objective algorithms only require a single point. However multi-objective algorithms need a set of initialisation points. The number of points required should be <a class="el" href="classshark_1_1_abstract_optimizer.html#a977f8494a25041605b5a2d7d7d120a71" title="Returns the number of points this method requires for initialisation.">numInitPoints()</a>. Otherwise the algorithm might use heuristics to generate additional points if needed.</p>
<p>Be aware that function.init() has to be called before calling this function! </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">function</td><td>The objective function to initialize for. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">initPoints</td><td>points used for initialisation. Should be at least <a class="el" href="classshark_1_1_abstract_optimizer.html#a977f8494a25041605b5a2d7d7d120a71" title="Returns the number of points this method requires for initialisation.">numInitPoints()</a>. </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a246f1f1d4e0566c9a0ca43035a63fad5">shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt;</a>.</p>

</div>
</div>
<a id="a977f8494a25041605b5a2d7d7d120a71" name="a977f8494a25041605b5a2d7d7d120a71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a977f8494a25041605b5a2d7d7d120a71">&#9670;&#160;</a></span>numInitPoints()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::size_t <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::numInitPoints </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of points this method requires for initialisation. </p>
<p>The number of points supplied is allowed to be smaller, however in this case the optimizer will resort to techniques generating additional points if needed. </p>

<p>Implemented in <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a1bd54036e3524dc2ddf02afeadc0939f">shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt;</a>, <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a1bd54036e3524dc2ddf02afeadc0939f">shark::AbstractSingleObjectiveOptimizer&lt; RealVector &gt;</a>, <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a1bd54036e3524dc2ddf02afeadc0939f">shark::AbstractSingleObjectiveOptimizer&lt; SearchPointType &gt;</a>, <a class="el" href="classshark_1_1_indicator_based_m_o_c_m_a.html#adc103eae80a1d75fa128c6912cc0061c">shark::IndicatorBasedMOCMA&lt; Indicator &gt;</a>, <a class="el" href="classshark_1_1_m_o_e_a_d.html#a00bf3f40f13536690b0e17fe582bf55b">shark::MOEAD</a>, <a class="el" href="classshark_1_1_indicator_based_real_coded_n_s_g_a_i_i.html#a7442d1a0b976d59849869677bec8dcf0">shark::IndicatorBasedRealCodedNSGAII&lt; Indicator &gt;</a>, <a class="el" href="classshark_1_1_indicator_based_real_coded_n_s_g_a_i_i.html#a7442d1a0b976d59849869677bec8dcf0">shark::IndicatorBasedRealCodedNSGAII&lt; NSGA3Indicator &gt;</a>, <a class="el" href="classshark_1_1_r_v_e_a.html#aa89e84602ca691bf124a6fcaaf9869f4">shark::RVEA</a>, <a class="el" href="classshark_1_1_s_m_s_e_m_o_a.html#a5c170f3b1acd7ade3f2ab73b2e5928e6">shark::SMSEMOA</a>, and <a class="el" href="classshark_1_1_indicator_based_steady_state_m_o_c_m_a.html#ac714fa3ec030a0af97b738e80cfdbc85">shark::IndicatorBasedSteadyStateMOCMA&lt; Indicator &gt;</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_optimizer.html#aaa65e7eece1d248594253b799cf20e7a">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::init()</a>.</p>

</div>
</div>
<a id="aa9332ad1b90deed11ee6709a92964bc9" name="aa9332ad1b90deed11ee6709a92964bc9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9332ad1b90deed11ee6709a92964bc9">&#9670;&#160;</a></span>requiresClosestFeasible()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::requiresClosestFeasible </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00105">105</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_optimizer.html#a40334039f6e799b2255d229874e9fa39">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::features()</a>, and <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0addbe7762d6f4f8769cc06f61bc9c5c28">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::REQUIRES_CLOSEST_FEASIBLE</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_optimizer.html#ae7a23300641448c761b6aa0305b7ef66">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::checkFeatures()</a>.</p>

</div>
</div>
<a id="a13dff098bcde14529b64be653d73d57f" name="a13dff098bcde14529b64be653d73d57f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13dff098bcde14529b64be653d73d57f">&#9670;&#160;</a></span>requiresFirstDerivative()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::requiresFirstDerivative </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00096">96</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_optimizer.html#a40334039f6e799b2255d229874e9fa39">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::features()</a>, and <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0ad9b925369d4f923c63792bf455eac1d7">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::REQUIRES_FIRST_DERIVATIVE</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_optimizer.html#ae7a23300641448c761b6aa0305b7ef66">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::checkFeatures()</a>.</p>

</div>
</div>
<a id="a9da146985b7738554e09f75a670f8c97" name="a9da146985b7738554e09f75a670f8c97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9da146985b7738554e09f75a670f8c97">&#9670;&#160;</a></span>requiresSecondDerivative()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::requiresSecondDerivative </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00099">99</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_optimizer.html#a40334039f6e799b2255d229874e9fa39">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::features()</a>, and <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0a0a32670987bb219aaf2f6defc70e6f03">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::REQUIRES_SECOND_DERIVATIVE</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_optimizer.html#ae7a23300641448c761b6aa0305b7ef66">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::checkFeatures()</a>.</p>

</div>
</div>
<a id="a8645fb354408c89d3537aa87aed49b79" name="a8645fb354408c89d3537aa87aed49b79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8645fb354408c89d3537aa87aed49b79">&#9670;&#160;</a></span>requiresValue()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::requiresValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00092">92</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_optimizer.html#a40334039f6e799b2255d229874e9fa39">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::features()</a>, and <a class="el" href="classshark_1_1_abstract_optimizer.html#a77bf437afee3445601c680cc652410f0af46b9e1111a0858df3670fe12e4ffbf0">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::REQUIRES_VALUE</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_abstract_optimizer.html#ae7a23300641448c761b6aa0305b7ef66">shark::AbstractOptimizer&lt; PointType, ResultT, SolutionTypeT &gt;::checkFeatures()</a>.</p>

</div>
</div>
<a id="a277acc916ab9b33a9a7fe954a7cb4b72" name="a277acc916ab9b33a9a7fe954a7cb4b72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a277acc916ab9b33a9a7fe954a7cb4b72">&#9670;&#160;</a></span>solution()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classshark_1_1_abstract_optimizer.html#abc94d354dbe0b99c0a69ec3e6e5e8657">SolutionType</a> const  &amp; <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::solution </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Accesses the best solution obtained so far. </p>
<dl class="section return"><dt>Returns</dt><dd>An immutable reference to the best solution obtained so far. </dd></dl>

<p>Implemented in <a class="el" href="classshark_1_1_abstract_multi_objective_optimizer.html#a88cd9d9eb6bd2edf4aa671b12024b7f2">shark::AbstractMultiObjectiveOptimizer&lt; PointTypeT &gt;</a>, <a class="el" href="classshark_1_1_abstract_multi_objective_optimizer.html#a88cd9d9eb6bd2edf4aa671b12024b7f2">shark::AbstractMultiObjectiveOptimizer&lt; RealVector &gt;</a>, <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a0909596fcc4f80a8d108859b20b64a81">shark::AbstractSingleObjectiveOptimizer&lt; PointType &gt;</a>, <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a0909596fcc4f80a8d108859b20b64a81">shark::AbstractSingleObjectiveOptimizer&lt; RealVector &gt;</a>, and <a class="el" href="classshark_1_1_abstract_single_objective_optimizer.html#a0909596fcc4f80a8d108859b20b64a81">shark::AbstractSingleObjectiveOptimizer&lt; SearchPointType &gt;</a>.</p>

</div>
</div>
<a id="abfc507951eb09c50d62c474c79d773ea" name="abfc507951eb09c50d62c474c79d773ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfc507951eb09c50d62c474c79d773ea">&#9670;&#160;</a></span>step()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::step </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_optimizer.html#ac7a9b0634e5a5cbd683f5510b41b7062">ObjectiveFunctionType</a> const &amp;&#160;</td>
          <td class="paramname"><em>function</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Carry out one step of the optimizer for the supplied objective function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">function</td><td>The objective function to initialize for. </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_optimization_trainer.html#ab3cfafba31871515074323c20d501573">shark::OptimizationTrainer&lt; Model, LabelTypeT &gt;::train()</a>.</p>

</div>
</div>
<a id="adc0219242dff14757398c81d2e82c22e" name="adc0219242dff14757398c81d2e82c22e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc0219242dff14757398c81d2e82c22e">&#9670;&#160;</a></span>updateFeatures()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::updateFeatures </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00090">90</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a72daf583d406e144b90869f311baa594" name="a72daf583d406e144b90869f311baa594"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72daf583d406e144b90869f311baa594">&#9670;&#160;</a></span>m_features</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType , typename ResultT , typename SolutionTypeT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_abstract_optimizer.html#ab43ff108d945a982e98495432ace599f">Features</a> <a class="el" href="classshark_1_1_abstract_optimizer.html">shark::AbstractOptimizer</a>&lt; PointType, ResultT, SolutionTypeT &gt;::m_features</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_abstract_optimizer_8h_source.html#l00090">90</a> of file <a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_c_m_s_a.html#ac4578fae098a5b45e7f301a2693490d0">shark::CMSA::CMSA()</a>, <a class="el" href="classshark_1_1_indicator_based_m_o_c_m_a.html#a521cbffbdca285013a94905b7ed2de0a">shark::IndicatorBasedMOCMA&lt; Indicator &gt;::IndicatorBasedMOCMA()</a>, <a class="el" href="classshark_1_1_indicator_based_real_coded_n_s_g_a_i_i.html#a1bc72e4c13869acc416e57a3da9cc6c6">shark::IndicatorBasedRealCodedNSGAII&lt; Indicator &gt;::IndicatorBasedRealCodedNSGAII()</a>, <a class="el" href="classshark_1_1_indicator_based_steady_state_m_o_c_m_a.html#acf6f4e12f2a58152ad70e8ba825a3492">shark::IndicatorBasedSteadyStateMOCMA&lt; Indicator &gt;::IndicatorBasedSteadyStateMOCMA()</a>, <a class="el" href="classshark_1_1_l_b_f_g_s.html#af1a1c3e07e77e4183383cd506ce121da">shark::LBFGS&lt; SearchPointType &gt;::LBFGS()</a>, <a class="el" href="classshark_1_1_l_m_c_m_a.html#a1f2852ce27c7333c44630c5294246c42">shark::LMCMA::LMCMA()</a>, <a class="el" href="classshark_1_1_s_m_s_e_m_o_a.html#aa6096dca040f1baaba3fd313c5b3ddf6">shark::SMSEMOA::SMSEMOA()</a>, and <a class="el" href="classshark_1_1_v_d_c_m_a.html#a1b75875028d4bcc325723dde79d2d449">shark::VDCMA::VDCMA()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Algorithms/<a class="el" href="_abstract_optimizer_8h_source.html">AbstractOptimizer.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
